﻿using ShanNiang.Hosting.Common;
using ShanNiang.Hosting.Enumerate;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.PackingModels.Requests
{
    /// <summary>
    /// 查询装箱记录请求
    /// </summary>
    public class GetPackingRecordsPageRequest : PageRequest
    {
        public GetPackingRecordsPageRequest()
        {
            
        }

        /// <summary>
        /// 企业id
        /// </summary>
        public Guid? EnterpriseId { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTimeOffset? BeginTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTimeOffset? EndTime { get; set; }
        /// <summary>
        /// 装箱商品Id
        /// </summary>
        public Guid? ItemId { get; set; }
        /// <summary>
        /// 装箱人id
        /// </summary>
        public Guid? UserId { get; set; }


        public override ApiServer ApiServer => ApiServer.XkmServer;

        public override HttpMethod Method => HttpMethod.Get;

        public override bool NeedToken => true;

        protected override string RequestPath => "/api/Packing/GetPackingRecordsPage";
    }
}
